package com.xuan.temper.dao;

import com.xuan.temper.entity.ExponentialInfo;
import com.xuan.temper.entity.ExponentialTemperature;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @创建人： king xuan
 * @创建时间：2020/8/22
 * @描述：
 */
@Mapper
@Repository
public interface ExponentialInfoDao {

    /**
     * [新增]
     * @author kingxuan
     * @date 2020/08/22
     **/
    int insert(ExponentialInfo exponentialInfo);



    /**
     * [更新]
     * @author kingxuan
     * @date 2020/08/22
     **/
    int update(ExponentialInfo exponentialInfo);

    /**
     * [查询] 根据主键 id 查询
     * @author kingxuan
     * @date 2020/08/22
     **/
    ExponentialInfo queryByStockCode(@Param("stockCode") String stockCode);

    List<ExponentialInfo> queryByName(@Param("name") String name);

    ExponentialInfo queryName(@Param("name") String name);

}
